import java.io.Console;

public class ConsoleInput {

	public static void main(String[] args) {
		Console console = System.console();
		String name;

		System.out.print("Please enter your name: ");
		name = console.readLine();

		System.out.println("Your name is: " + name);

	}

}
